home *** CD-ROM | disk | FTP | other *** search
- %% cream 10
- Welcome to the Help Compiler v1.0 help facility.
- Select a subject╔
- % Purpose
- The \bHelp Compiler\e is a development tool, which
- is designed to aid in the construction of help dialogs
- like this one. You write the help text, and the program
- writes the resources. Then, when your program is
- running, you call the provided code resource, which
- reads in the resources, and shows the help messages.
- % Usage
- In order to use the \bHelp Compiler\e, follow these
- steps:
-
- Ñ Prepare an input specification, as described in the
- \bFormats\e description below.
-
- Ñ Compile it, using the \bcompile\e menu option.
- This will automatically show it to you when it is done.
- You must save the resources in your application file.
- Prior help resources will be deleted, but all others will
- be left intact.
-
- Ñ Refine the help specification until it looks right to
- you.
-
- Ñ Call \b\iShowHelp()\e from your application when
- you want to display help info. The \b\iShowHelp()\e which
- is supplied is in the \bC\e language. You will have to
- rewrite it for other languages.
-
- Ñ When you want to change the help specification,
- you can use the \bDecompile\e option in the \b\oOperations\e
- menu. This option will generate a help text file from an
- existing set of help resources.
-
- % Formats
- The input format of the help compiler is simple.
- There is a heading, and as many catagories as you
- choose to enter.
- The heading begins with \u%%\e, and optionally
- contains both the font and font size which will be
- used to display the help text. Note that if either the
- font or the size are not available at run time, the
- system will default both.
- After the header section comes the help catagory
- sections. These begin with a single \u%\e, followed
- by the name of the help catagory. The following lines
- contain the text which will be displayed when the
- user selects this catagory. This text is terminated
- either by the start of another catagory, or by the end
- of the input file.
- In the text, you can specify that words or phrases
- are emphasized (\ilike some of the\e \iwords in this
- text\e) by surrounding them by escape sequences. The
- following sequences are recognized:
-
- Ñ \b\\b Bold\e
- Ñ \c\\c Condense\e
- Ñ \x\\x Extend\e
- Ñ \o\\o Outline\e
- Ñ \i\\i Italic\e
- Ñ \s\\s Shadow\e
- Ñ \\e Terminate Escape
- Ñ \\\\ Show a single \b\\\e
-
- You can make combinations of these by just using
- both before the emphasized text. For example, to get
- \b\iBold and Italic\e, type
- \\b\\iBold and Italic\\e.
- If you choose a font which is not one of the
- required fonts, be sure to include it in the application
- file.
- % Examples
- This section gives an example of the types of things
- you might do in your help specification. The
- distribution includes the help text for this program in
- \bCompiler.HT\e.
-
- \%% monaco 9
- This is the introduction.
- \% Section 1
- \\bThis section is bold.
- It continues for 4 lines.
- 3
- 4\\e
- \% Section 2
- \\xThis sentence is in extended text.\\e
- This sentence is not
- \% Section 3
- This is the last section.
-